import request from '@/utils/request';

export async function getOfferDetail({ offerCode }) {
    return request(`/api/oa/v1/offer/gettalentbeforeentry/${offerCode}`);
}

export async function getEntryDetail({ offerCode }) {
    return request(`/api/oa/v1/offer/getemployeeafterentry/${offerCode}`);
}

export async function saveEntry(params) {
    return request('/api/oa/v1/offer/processentry', {
        data: params,
        method: 'POST'
    });
}
